# -*- coding: utf-8 -*-

"""
@author: 司徒
@Created on: 20210902
@Remark: devops
"""
from rest_framework import routers
from ops.devops.views.notification import NotificationViewSet
from ops.devops.views.module import ModuleViewSet
from ops.devops.views.deploy import DeployViewSet
from ops.devops.views.domain import DomainViewSet, DomainSetViewSet
from ops.devops.views.cdn import CdnViewSet, RefViewSet

system_url = routers.SimpleRouter()
system_url.register(r'notification', NotificationViewSet)
system_url.register(r'module', ModuleViewSet)
system_url.register(r'deploy', DeployViewSet)
system_url.register(r'domain', DomainViewSet)
system_url.register(r'domain_records', DomainSetViewSet)
system_url.register(r'cdn', CdnViewSet)
system_url.register(r'ref', RefViewSet)

urlpatterns = []
urlpatterns += system_url.urls
